package com.casic.ops.entity.domain.pipeline;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 流水线实体类
 * @author cww
 * @date 2022/6/17
 */

@Data
@TableName("pipeline")
public class PipelineDO implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * id
     */
    @TableId(value = "id",type=IdType.AUTO)
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    /**
     * uuid
     */
    @TableField("uuid")
    private long uuid;

    /**
     * application_uuid
     */
    @TableField("application_uuid")
    private String applicationUuid;

    /**
     * pipeline_name
     */
    @TableField("pipeline_name")
    private String pipelineName;

    /**
     * pipeline_context
     */
    @TableField("pipeline_context")
    private String pipelineContext;

    /**
     * description
     */
    @TableField("description")
    private String description;

    /**
     * creator
     */
    @TableField("creator")
    private String creator;

    /**
     * modifier
     */
    @TableField("modifier")
    private String modifier;

    /**
     * gmt_create
     */
    @TableField("gmt_create")
    private Date gmtCreate;

    /**
     * gmt_modified
     */
    @TableField("gmt_modified")
    private Date gmtModified;

    /**
     * deleted
     */
    @TableLogic(value = "1",delval = "0")
    private String deleted;

    /**
     * trigger_way
     */
    @TableField("trigger_way")
    private String triggerWay;

    /**
     * last_trigger_time
     */
    @TableField("latest_trigger_time")
    private String latestTriggerTime;

    /**
     * branch
     */
    @TableField("branch")
    private String branch;


}
